package com.wsz.employees.feign;

import com.wsz.pojo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient("departments")
public interface DepartmentClient {
    @GetMapping("/departments/getdeps")
    R getDepartments(@RequestParam String jsonStr);
}
